silence MSVC with definitions and options (#859)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Sat, 26 Feb 2022 00:03:10 +0000 (17:03 -0700)
committerGitHub <noreply@github.com>
Sat, 26 Feb 2022 00:03:10 +0000 (17:03 -0700)
commit369ccf8edf9d4277f69676594bde0ca3ee78469b
tree6da4501eb0372b154e39a07e2bfd4af2de53f69a
parent3a79346aca945fd318ecc54bc4f1a4a78e248c78
silence MSVC with definitions and options (#859)

* deal with MSVC CRT security warnings in a consistent manner.

* correct cmake targets

* turn off some MSVC warnings for shapelib, zlib with cmake.

* fix msvc C4100 warning handling.

There was interference between our attempt to turn off the warning
with -wd4100 and win32-msvc mkspec changing the level of this
warning with -w34100.
CMakeLists.txt
GPSBabel.pro
defs.h
shapelib.cmake
zlib.cmake